const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  username: state => state.user.username,
  realName: state => state.user.realName,
  roles: state => state.user.realName,
  courseId: state => state.course.courseId,
  orderId: state => state.order.id,
  pagecur: state => state.setting.pagecur,
  order: state => state.order.order,
  orderCode: state => state.order.code,
  classTimeRefresh: state => state.course.classTimeRefresh
}
export default getters